package com.ruoyi.interfaced.mapper;

import java.util.List;
import com.ruoyi.interfaced.domain.ShopCommodityInter;

/**
 * orderMapper接口
 * 
 * @author ruoyi
 * @date 2021-11-25
 */
public interface ShopCommodityInterMapper
{

    /**
     * 查询order
     * 
     * @param id order主键
     * @return order
     */
    public ShopCommodityInter selectShopCommodityById(Long id);

    /**
     * 查询order列表
     * 
     * @param shopCommodity order
     * @return order集合
     */
    public List<ShopCommodityInter> selectShopCommodityList(ShopCommodityInter shopCommodity);

    /**
     * 新增order
     * 
     * @param shopCommodity order
     * @return 结果
     */
    public int insertShopCommodity(ShopCommodityInter shopCommodity);

    /**
     * 修改order
     * 
     * @param shopCommodity order
     * @return 结果
     */
    public int updateShopCommodity(ShopCommodityInter shopCommodity);

    /**
     * 删除order
     * 
     * @param id order主键
     * @return 结果
     */
    public int deleteShopCommodityById(Long id);

    /**
     * 批量删除order
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShopCommodityByIds(Long[] ids);
}
